package com.caltco.cargo.ops.modules.sys.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ProjectRequest {
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "项目名称")
    @TableField("project_name")
    @JsonProperty("projectName")
    private String projectName;

    @Schema(description = "项目描述")
    @TableField("description")
    @JsonProperty("description")
    private String description;

    @Schema(description = "项目结束时间")
    @TableField("project_end_time")
    @JsonProperty("projectEndTime")
    private LocalDateTime projectEndTime;


    @Schema(description = "项目开始时间")
    @TableField("project_start_time")
    @JsonProperty("projectStartTime")
    private LocalDateTime projectStartTime;

    @Schema(description = "项目码")
    @TableField("project_code")
    @JsonProperty("projectCode")
    private String projectCode;

    @Schema(description = "是否收藏")
    @TableField("is_collection")
    @JsonProperty("isCollection")
    private Integer isCollection;

    @Schema(description = "是否置顶")
    @TableField("is_top")
    @JsonProperty("isTop")
    private Integer isTop;

}
